<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>listapperror</title>
	</head>

	<body>
		<table align="center" border="1">
			<tr>
				<th>
					时间
				</th>
				<th>
					姓名
				</th>
				<th>
					省份证
				</th>
				<th>
					申请理由
				</th>
				<th>
					通过
				</th>
				<th>
					拒接
				</th>
			</tr>

			<c:forEach var="info" items="${requestScope.data}" varStatus="index">
				<tr
					<c:if test="${index.index % 2 == 1 }"> style="background-color:rgb(219,241,212);"</c:if>>
					<td>
						${info.addtime}
					</td>
					<td>
						${info.truename}
					</td>
					<td>
						${info.identitycard}
					</td>
					<td>
						${info.content}
					</td>
					<td>
					
						<form action="servlet_dealapplytc" method="post">
						  	<input type="hidden" name="result" value="1"/>
						  	<input type="hidden" name="id" value="${info.id}"/>  
						  	<input type="submit" value="通过" onclick=returnwindow.confirm('确定通过核审?')>
						 </form>
					</td>
					<td> 
						  <form action="servlet_dealapplytc" method="post">
							<input type="hidden" name="result" value="2"/>
						  	<input type="hidden" name="id" value="${info.id}"/>  
						  	<input type="submit" value="提交" onclick=returnwindow.confirm('确定拒接通过核审?')>
                          	<input type="text" name="resultcontent">
						  </form>
					</td>
				</tr>
			</c:forEach>

		</table>

	</body>
</html>